package com.scores.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Score {
    private Integer scoreId;
    private Integer subjectId;
    private Integer studentId;
    private double score;
    private Integer del;

    private Student student;
    private Subject subject;

    public Score(Integer subjectId, Integer studentId, double score) {
        this.subjectId = subjectId;
        this.studentId = studentId;
        this.score = score;
    }
}
